#ifndef RENAME_H
#define RENAME_H

#include <QThread>
#include <QStringList>

class Rename : public QThread
{
    Q_OBJECT
public:
    Rename();
    ~Rename();
    void init(QString *dir, QStringList *orig, QStringList *newname, int offset, int operations);

private:
    QString *qspDir;
    QStringList *qslpOrig;
    QStringList *qslpNew;
    int offset;
    int ops;

signals:
    void completed(int numErrors);

protected:
    void run();
};

#endif // RENAME_H
